
@ECHO OFF
@REM Set command switch for building debug or release (default is to build debug)
@REM Type "build.bat -r" to build for release

@set DNET_FRMWK=C:\Windows\Microsoft.NET\Framework\v2.0.50727\
@set DNET_FRMWK_SDK=C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bin

@SET PATH=%DNET_FRMWK_SDK%;%DNET_FRMWK%;%PATH%;
@SET TARGET_PATH=D:\PROJECTS\DOTNET_WSP\BestCarings_TuyenDung\Integration


@SET OUTDIR=bin
@SET DEBUGSAMPLE=/debug+

@IF "%1"=="-r" SET DEBUGSAMPLE=/debug-
@IF "%1"=="-R" SET DEBUGSAMPLE=/debug-

@IF "%DNET_FRMWK%" == "" goto Error
@IF "%DNET_FRMWK_SDK%" == "" goto Error

CD /D %TARGET_PATH%

msbuild.exe BestCarings_TuyenDung.Integration.vbproj /t:Build /verbosity:quiet
